<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="navbar-wrapper">
		<div class="container">
		<div class="navbar-brand bg-color fl hidden-xs">
			<a class="navbar-brand-title" href="javascript:void(0);" target="_blank">全部商品分类<i
				class="iconfont">&#xe600;</i>
			</a>
			<div class="nav-category-section shadow">
				<ul class="fl">
					<s:iterator
						value="@cn.wegoteam.shop.cache.StaticDataCache@getStaticdatas('NAV','NAV')">
						<s:if test="flag!=4"><!-- 4表示促销活动，不在主导航显示 -->
							<li id="NAV_${code}" onmouseover="navPos('${code}');"><a
								class="title" href="category?p_first.code=${code}">${name}</a>
								<div class="content">
									<s:iterator
										value="@cn.wegoteam.shop.cache.StaticDataCache@getStaticdatas(code,'SUBNAV')">
										<a class="link" href="category?p_second.code=${code}">${name}</a>
									</s:iterator>
								</div> <!-- <div class="nav-category-border"></div>-->
								<div class="nav-category-sub shadow" id="SUBNAV_${code}">
									<!-- 显示全部子菜单 -->
									<ul>
										<s:iterator
											value="@cn.wegoteam.shop.cache.StaticDataCache@getStaticdatas(code,'SUBNAV')">
											<li><s:property value="img" escape="false" /> <a
												class="link" href="category?p_second.code=${code}">${name}</a></li>
										</s:iterator>
									</ul>
									<div class="cb"></div>
								</div></li>
						</s:if>
					</s:iterator>
				</ul>

			</div>
		</div>
		<nav class="navbar navbar-inverse navbar-static-top">
			<div class="navbar-header p0">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#navbar" aria-expanded="false"
					aria-controls="navbar">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
			</div>
	<div id="navbar" class="navbar-collapse collapse">
		<ul class="nav navbar-nav">
			<s:iterator
				value="@cn.wegoteam.shop.cache.StaticDataCache@getStaticdatas('MENU','MENU')">
				<li><a class="menu-a" href="${link}">${name}</a>
				</li>
			</s:iterator>
			<!--  <li class="active"><a href="#">Home</a></li>-->
		</ul>
	</div>
	</nav>
</div>
</div>


<!-- 手机导航 -->
<div class="phone-wrap visible-xs-block">
	<div class="phone-menu img-circle"><span>分类</span></div>
	<s:iterator value="@cn.wegoteam.shop.cache.StaticDataCache@getStaticdatas('NAV','NAV')" status="st">
		<s:if test="flag!=4&&#st.index<5"><!-- 4表示促销活动，不在主导航显示 -->
			<a href="category?p_first.code=${code}">
				<div class="btn-phone btn<s:property value="#st.index"/> img-circle">
					${value}
				</div>
			</a>
		</s:if>
	</s:iterator>
	<a href="categorys"><div class="btn-phone btn5 img-circle">更多</div></a>
</div>
<!-- End:手机导航 -->